package com.crm.business.crm.mapper;


import com.crm.common.crm.entity.BO.CrmRoiSearchBO;
import com.crm.common.crm.entity.PO.CrmHeadquartersBusiness;
import com.crm.business.servlet.BaseMapper;
import com.crm.common.ka.core.servlet.upload.FileEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CrmHeadquartersBusinessMapper extends BaseMapper<CrmHeadquartersBusiness> {

    CrmHeadquartersBusiness queryBySource(@Param("topUpSource") String topUpSource);

    CrmHeadquartersBusiness queryById(@Param("id") Integer id);

    List<CrmHeadquartersBusiness> queryPageList(@Param("data") CrmRoiSearchBO search);

    CrmHeadquartersBusiness queryListById(@Param("id") Integer id);

    List<FileEntity> queryListCrmBatch(@Param("batchIds") String batchIds);

    List<String> querySource();

    Integer queryRow();

}
